/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.micda.moroccoby.common.dao;

import com.micda.moroccoby.common.entities.Adresse;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Administrateur
 */
public class AdresseDAO extends GenericDAO<Adresse, Integer>{
    
    @PersistenceContext(unitName = "MoroccoByPersistence")
    private EntityManager em;
    
    @Override
    protected EntityManager getEntityManager() {
        return em;
    }
    
    public AdresseDAO(){
        super(Adresse.class);
    }

}
